#ifndef QCUSTOMLISTVIEW_H
#define QCUSTOMLISTVIEW_H

#include <QListView>
#include <QMouseEvent>
#include <QFileSystemModel>
#include <QDesktopServices>
#include <QUrl>
#include <QLabel>



#include <QMessageBox>

class QCustomListView : public QListView
{
    Q_OBJECT

public:
    QCustomListView(QWidget *parent = 0);
    ~QCustomListView();

    void reindexFileView(QModelIndex index);

Q_SIGNALS:
    void setActive(QListView *listview);

private:

private slots:
    void thisActivated(QModelIndex index);

protected:
    void mousePressEvent(QMouseEvent *event);
};

#endif //QCUSTOMLISTVIEW_H
